/**
 *
 */
package com.zhuoyue.zhtj.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 考勤机分布Entity
 * @author hss
 * @version 2017-09-26
 */
public class Dispatchclassroom extends DataEntity<Dispatchclassroom> {
	
	private static final long serialVersionUID = 1L;
	private String machineip;		// 考勤机IP
	private String classroomid;		// 教室
	
	public Dispatchclassroom() {
		super();
	}

	public Dispatchclassroom(String id){
		super(id);
	}

	@Length(min=0, max=50, message="考勤机IP长度必须介于 0 和 50 之间")
	public String getMachineip() {
		return machineip;
	}

	public void setMachineip(String machineip) {
		this.machineip = machineip;
	}
	
	@Length(min=0, max=40, message="教室长度必须介于 0 和 40 之间")
	public String getClassroomid() {
		return classroomid;
	}

	public void setClassroomid(String classroomid) {
		this.classroomid = classroomid;
	}
	
}